package me.ymfs.springboot.guice.exception;

class ErrorCode {
    private final String code;
    private final String msg;
    private final ErrorType errorType;

    ErrorCode(String code, String msg, ErrorType errorType) {
        this.code = code;
        this.msg = msg;
        this.errorType = errorType;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public ErrorType getErrorType() {
        return errorType;
    }
}
